package com.system.common.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BisShopWorkExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BisShopWorkExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andWorkIdIsNull() {
            addCriterion("work_id is null");
            return (Criteria) this;
        }

        public Criteria andWorkIdIsNotNull() {
            addCriterion("work_id is not null");
            return (Criteria) this;
        }

        public Criteria andWorkIdEqualTo(String value) {
            addCriterion("work_id =", value, "workId");
            return (Criteria) this;
        }

        public Criteria andWorkIdNotEqualTo(String value) {
            addCriterion("work_id <>", value, "workId");
            return (Criteria) this;
        }

        public Criteria andWorkIdGreaterThan(String value) {
            addCriterion("work_id >", value, "workId");
            return (Criteria) this;
        }

        public Criteria andWorkIdGreaterThanOrEqualTo(String value) {
            addCriterion("work_id >=", value, "workId");
            return (Criteria) this;
        }

        public Criteria andWorkIdLessThan(String value) {
            addCriterion("work_id <", value, "workId");
            return (Criteria) this;
        }

        public Criteria andWorkIdLessThanOrEqualTo(String value) {
            addCriterion("work_id <=", value, "workId");
            return (Criteria) this;
        }

        public Criteria andWorkIdLike(String value) {
            addCriterion("work_id like", value, "workId");
            return (Criteria) this;
        }

        public Criteria andWorkIdNotLike(String value) {
            addCriterion("work_id not like", value, "workId");
            return (Criteria) this;
        }

        public Criteria andWorkIdIn(List<String> values) {
            addCriterion("work_id in", values, "workId");
            return (Criteria) this;
        }

        public Criteria andWorkIdNotIn(List<String> values) {
            addCriterion("work_id not in", values, "workId");
            return (Criteria) this;
        }

        public Criteria andWorkIdBetween(String value1, String value2) {
            addCriterion("work_id between", value1, value2, "workId");
            return (Criteria) this;
        }

        public Criteria andWorkIdNotBetween(String value1, String value2) {
            addCriterion("work_id not between", value1, value2, "workId");
            return (Criteria) this;
        }

        public Criteria andShopIdIsNull() {
            addCriterion("shop_id is null");
            return (Criteria) this;
        }

        public Criteria andShopIdIsNotNull() {
            addCriterion("shop_id is not null");
            return (Criteria) this;
        }

        public Criteria andShopIdEqualTo(String value) {
            addCriterion("shop_id =", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotEqualTo(String value) {
            addCriterion("shop_id <>", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdGreaterThan(String value) {
            addCriterion("shop_id >", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdGreaterThanOrEqualTo(String value) {
            addCriterion("shop_id >=", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdLessThan(String value) {
            addCriterion("shop_id <", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdLessThanOrEqualTo(String value) {
            addCriterion("shop_id <=", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdLike(String value) {
            addCriterion("shop_id like", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotLike(String value) {
            addCriterion("shop_id not like", value, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdIn(List<String> values) {
            addCriterion("shop_id in", values, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotIn(List<String> values) {
            addCriterion("shop_id not in", values, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdBetween(String value1, String value2) {
            addCriterion("shop_id between", value1, value2, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIdNotBetween(String value1, String value2) {
            addCriterion("shop_id not between", value1, value2, "shopId");
            return (Criteria) this;
        }

        public Criteria andShopIpIsNull() {
            addCriterion("shop_ip is null");
            return (Criteria) this;
        }

        public Criteria andShopIpIsNotNull() {
            addCriterion("shop_ip is not null");
            return (Criteria) this;
        }

        public Criteria andShopIpEqualTo(String value) {
            addCriterion("shop_ip =", value, "shopIp");
            return (Criteria) this;
        }

        public Criteria andShopIpNotEqualTo(String value) {
            addCriterion("shop_ip <>", value, "shopIp");
            return (Criteria) this;
        }

        public Criteria andShopIpGreaterThan(String value) {
            addCriterion("shop_ip >", value, "shopIp");
            return (Criteria) this;
        }

        public Criteria andShopIpGreaterThanOrEqualTo(String value) {
            addCriterion("shop_ip >=", value, "shopIp");
            return (Criteria) this;
        }

        public Criteria andShopIpLessThan(String value) {
            addCriterion("shop_ip <", value, "shopIp");
            return (Criteria) this;
        }

        public Criteria andShopIpLessThanOrEqualTo(String value) {
            addCriterion("shop_ip <=", value, "shopIp");
            return (Criteria) this;
        }

        public Criteria andShopIpLike(String value) {
            addCriterion("shop_ip like", value, "shopIp");
            return (Criteria) this;
        }

        public Criteria andShopIpNotLike(String value) {
            addCriterion("shop_ip not like", value, "shopIp");
            return (Criteria) this;
        }

        public Criteria andShopIpIn(List<String> values) {
            addCriterion("shop_ip in", values, "shopIp");
            return (Criteria) this;
        }

        public Criteria andShopIpNotIn(List<String> values) {
            addCriterion("shop_ip not in", values, "shopIp");
            return (Criteria) this;
        }

        public Criteria andShopIpBetween(String value1, String value2) {
            addCriterion("shop_ip between", value1, value2, "shopIp");
            return (Criteria) this;
        }

        public Criteria andShopIpNotBetween(String value1, String value2) {
            addCriterion("shop_ip not between", value1, value2, "shopIp");
            return (Criteria) this;
        }

        public Criteria andWorkPasswordIsNull() {
            addCriterion("work_password is null");
            return (Criteria) this;
        }

        public Criteria andWorkPasswordIsNotNull() {
            addCriterion("work_password is not null");
            return (Criteria) this;
        }

        public Criteria andWorkPasswordEqualTo(String value) {
            addCriterion("work_password =", value, "workPassword");
            return (Criteria) this;
        }

        public Criteria andWorkPasswordNotEqualTo(String value) {
            addCriterion("work_password <>", value, "workPassword");
            return (Criteria) this;
        }

        public Criteria andWorkPasswordGreaterThan(String value) {
            addCriterion("work_password >", value, "workPassword");
            return (Criteria) this;
        }

        public Criteria andWorkPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("work_password >=", value, "workPassword");
            return (Criteria) this;
        }

        public Criteria andWorkPasswordLessThan(String value) {
            addCriterion("work_password <", value, "workPassword");
            return (Criteria) this;
        }

        public Criteria andWorkPasswordLessThanOrEqualTo(String value) {
            addCriterion("work_password <=", value, "workPassword");
            return (Criteria) this;
        }

        public Criteria andWorkPasswordLike(String value) {
            addCriterion("work_password like", value, "workPassword");
            return (Criteria) this;
        }

        public Criteria andWorkPasswordNotLike(String value) {
            addCriterion("work_password not like", value, "workPassword");
            return (Criteria) this;
        }

        public Criteria andWorkPasswordIn(List<String> values) {
            addCriterion("work_password in", values, "workPassword");
            return (Criteria) this;
        }

        public Criteria andWorkPasswordNotIn(List<String> values) {
            addCriterion("work_password not in", values, "workPassword");
            return (Criteria) this;
        }

        public Criteria andWorkPasswordBetween(String value1, String value2) {
            addCriterion("work_password between", value1, value2, "workPassword");
            return (Criteria) this;
        }

        public Criteria andWorkPasswordNotBetween(String value1, String value2) {
            addCriterion("work_password not between", value1, value2, "workPassword");
            return (Criteria) this;
        }

        public Criteria andWhetherSetIsNull() {
            addCriterion("whether_set is null");
            return (Criteria) this;
        }

        public Criteria andWhetherSetIsNotNull() {
            addCriterion("whether_set is not null");
            return (Criteria) this;
        }

        public Criteria andWhetherSetEqualTo(String value) {
            addCriterion("whether_set =", value, "whetherSet");
            return (Criteria) this;
        }

        public Criteria andWhetherSetNotEqualTo(String value) {
            addCriterion("whether_set <>", value, "whetherSet");
            return (Criteria) this;
        }

        public Criteria andWhetherSetGreaterThan(String value) {
            addCriterion("whether_set >", value, "whetherSet");
            return (Criteria) this;
        }

        public Criteria andWhetherSetGreaterThanOrEqualTo(String value) {
            addCriterion("whether_set >=", value, "whetherSet");
            return (Criteria) this;
        }

        public Criteria andWhetherSetLessThan(String value) {
            addCriterion("whether_set <", value, "whetherSet");
            return (Criteria) this;
        }

        public Criteria andWhetherSetLessThanOrEqualTo(String value) {
            addCriterion("whether_set <=", value, "whetherSet");
            return (Criteria) this;
        }

        public Criteria andWhetherSetLike(String value) {
            addCriterion("whether_set like", value, "whetherSet");
            return (Criteria) this;
        }

        public Criteria andWhetherSetNotLike(String value) {
            addCriterion("whether_set not like", value, "whetherSet");
            return (Criteria) this;
        }

        public Criteria andWhetherSetIn(List<String> values) {
            addCriterion("whether_set in", values, "whetherSet");
            return (Criteria) this;
        }

        public Criteria andWhetherSetNotIn(List<String> values) {
            addCriterion("whether_set not in", values, "whetherSet");
            return (Criteria) this;
        }

        public Criteria andWhetherSetBetween(String value1, String value2) {
            addCriterion("whether_set between", value1, value2, "whetherSet");
            return (Criteria) this;
        }

        public Criteria andWhetherSetNotBetween(String value1, String value2) {
            addCriterion("whether_set not between", value1, value2, "whetherSet");
            return (Criteria) this;
        }

        public Criteria andWorkSnIsNull() {
            addCriterion("work_sn is null");
            return (Criteria) this;
        }

        public Criteria andWorkSnIsNotNull() {
            addCriterion("work_sn is not null");
            return (Criteria) this;
        }

        public Criteria andWorkSnEqualTo(String value) {
            addCriterion("work_sn =", value, "workSn");
            return (Criteria) this;
        }

        public Criteria andWorkSnNotEqualTo(String value) {
            addCriterion("work_sn <>", value, "workSn");
            return (Criteria) this;
        }

        public Criteria andWorkSnGreaterThan(String value) {
            addCriterion("work_sn >", value, "workSn");
            return (Criteria) this;
        }

        public Criteria andWorkSnGreaterThanOrEqualTo(String value) {
            addCriterion("work_sn >=", value, "workSn");
            return (Criteria) this;
        }

        public Criteria andWorkSnLessThan(String value) {
            addCriterion("work_sn <", value, "workSn");
            return (Criteria) this;
        }

        public Criteria andWorkSnLessThanOrEqualTo(String value) {
            addCriterion("work_sn <=", value, "workSn");
            return (Criteria) this;
        }

        public Criteria andWorkSnLike(String value) {
            addCriterion("work_sn like", value, "workSn");
            return (Criteria) this;
        }

        public Criteria andWorkSnNotLike(String value) {
            addCriterion("work_sn not like", value, "workSn");
            return (Criteria) this;
        }

        public Criteria andWorkSnIn(List<String> values) {
            addCriterion("work_sn in", values, "workSn");
            return (Criteria) this;
        }

        public Criteria andWorkSnNotIn(List<String> values) {
            addCriterion("work_sn not in", values, "workSn");
            return (Criteria) this;
        }

        public Criteria andWorkSnBetween(String value1, String value2) {
            addCriterion("work_sn between", value1, value2, "workSn");
            return (Criteria) this;
        }

        public Criteria andWorkSnNotBetween(String value1, String value2) {
            addCriterion("work_sn not between", value1, value2, "workSn");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(String value) {
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(String value) {
            addCriterion("create_user_id <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(String value) {
            addCriterion("create_user_id >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_user_id >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(String value) {
            addCriterion("create_user_id <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(String value) {
            addCriterion("create_user_id <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLike(String value) {
            addCriterion("create_user_id like", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotLike(String value) {
            addCriterion("create_user_id not like", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<String> values) {
            addCriterion("create_user_id in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<String> values) {
            addCriterion("create_user_id not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(String value1, String value2) {
            addCriterion("create_user_id between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(String value1, String value2) {
            addCriterion("create_user_id not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(Date value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(Date value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(Date value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(Date value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(Date value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<Date> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<Date> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(Date value1, Date value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(Date value1, Date value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdIsNull() {
            addCriterion("modify_user_id is null");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdIsNotNull() {
            addCriterion("modify_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdEqualTo(String value) {
            addCriterion("modify_user_id =", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdNotEqualTo(String value) {
            addCriterion("modify_user_id <>", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdGreaterThan(String value) {
            addCriterion("modify_user_id >", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("modify_user_id >=", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdLessThan(String value) {
            addCriterion("modify_user_id <", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdLessThanOrEqualTo(String value) {
            addCriterion("modify_user_id <=", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdLike(String value) {
            addCriterion("modify_user_id like", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdNotLike(String value) {
            addCriterion("modify_user_id not like", value, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdIn(List<String> values) {
            addCriterion("modify_user_id in", values, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdNotIn(List<String> values) {
            addCriterion("modify_user_id not in", values, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdBetween(String value1, String value2) {
            addCriterion("modify_user_id between", value1, value2, "modifyUserId");
            return (Criteria) this;
        }

        public Criteria andModifyUserIdNotBetween(String value1, String value2) {
            addCriterion("modify_user_id not between", value1, value2, "modifyUserId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}